package pers.karl.spring.boot.design.pattern.strategy.impl;

import org.springframework.stereotype.Component;
import pers.karl.spring.boot.design.pattern.strategy.Strategy;

@Component("two")
public class TwoStrategy implements Strategy {

    @Override
    public String support() {
        return "b";
    }

    @Override
    public void doSomething() {
        System.out.println("two is do");
    }

}
